import request from '@/utils/request'
import qs from 'qs'
export function listComment(query) {
  return request({
    url: '/comment/list',
    method: 'get',
    params: query
  })
}

export function deleteComment(data) {
  return request({
    url: '/comment/delete',
    method: 'post',
    data
  })
}
/** 商品列表 */
export function commodityList(data) {
  return request({
    url: '/commodity/listCommodity',
    method: 'post',
    data: qs.stringify(data)
  })
}
